* (bug 17146) Fix for UTF-8 and short word search for some possible MySQL configs
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 31 Jan 2009 01:19:18 +0000 (01:19 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 31 Jan 2009 01:19:18 +0000 (01:19 +0000)
commitfa140836b54165c68a4c820aaac40dcf8630deb8
tree8c1e7a9a10b54e7f438f6446b8e815be5d2b729d
parent8d6213da2a881319a45c524c14a468db0f33ef94
* (bug 17146) Fix for UTF-8 and short word search for some possible MySQL configs

Language::stripForSearch() was lowercasing input, but producing 'U8' for its unicode and short-word normalizations... but SearchUpdate::doUpdate() was running *that* through an additional strtolower() before actually saving to the database.
It's possible that some folks configurations were applying a case-sensitive search on the search table (?) which would make these not match up when actually searching. Going ahead and producing 'u8' right off will ensure these stay in sync.
RELEASE-NOTES
languages/Language.php